<script>
export default {
  name: "tao-input",
  props:{
    modelValue:{
      type:Number,
      required:true
    }
  },
  emits:["update:modelValue"],
  methods:{
    onInput(event){
      this.$emit("update:modelValue",event.target.value)
    }
  }
}
</script>

<template>
  <input type="text" :value="modelValue" @input="onInput">
</template>

<style scoped lang="less">

</style>